package tripx.user;

import tripx.sql.QueryObject;

public class DbUser extends QueryObject {

	private int uid; // user id

	public String uname; // user name

	public String upass; // password

	public DbUser(String uname, String upass) {
		this(-1, uname, upass);
	}

	public DbUser(int uid, String uname, String upass) {
		this.uid = uid;
		this.uname = uname;
		this.upass = upass;
	}

	public int getUserId() {
		return uid;
	}
}
